From: Olaf Hering Date: Mon, 9 May 2011 08:59:13 +0000 (+0100) Subject: xentrace: Mark data_size __read_mostly because it's only written once X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=a7f30ee678e427c4f87f0ded582b097bb4e19312;p=xen.git xentrace: Mark data_size __read_mostly because it's only written once Signed-off-by: Olaf Hering --- diff --git a/xen/common/trace.c b/xen/common/trace.c index 572d1c814e..9c2250e168 100644 --- a/xen/common/trace.c +++ b/xen/common/trace.c @@ -54,7 +54,7 @@ static unsigned int t_info_pages; static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs); static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data); static DEFINE_PER_CPU_READ_MOSTLY(spinlock_t, t_lock); -static u32 data_size; +static u32 data_size __read_mostly; /* High water mark for trace buffers; */ /* Send virtual interrupt when buffer level reaches this point */